package com.example.domain.vo;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


public class BusNoteVo implements Serializable {


    private String id;

    /**
     * 标题名称
     */
    @NotBlank(message = "标题不得为空")
    private String titleName;

    /**
     * 标题类型id
     */
    @NotBlank(message = "标题类型不得为空")
    private String titleTypeId;

    /**
     * 标题标签
     */
    private String titleTag;


    @NotBlank(message = "内容不得为空")
    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public @NotBlank(message = "标题不得为空") String getTitleName() {
        return titleName;
    }

    public void setTitleName(@NotBlank(message = "标题不得为空") String titleName) {
        this.titleName = titleName;
    }

    public @NotBlank(message = "标题类型不得为空") String getTitleTypeId() {
        return titleTypeId;
    }

    public void setTitleTypeId(@NotBlank(message = "标题类型不得为空") String titleTypeId) {
        this.titleTypeId = titleTypeId;
    }

    public String getTitleTag() {
        return titleTag;
    }

    public void setTitleTag(String titleTag) {
        this.titleTag = titleTag;
    }

    public @NotBlank(message = "内容不得为空") String getContent() {
        return content;
    }

    public void setContent(@NotBlank(message = "内容不得为空") String content) {
        this.content = content;
    }
}
